]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
grabHelper: Adjust to property name change
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 28 Aug 2014 17:43:05 +0000 (19:43 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 28 Aug 2014 17:49:51 +0000 (19:49 +0200)
Commit bbfa616f275cdd41c052 renamed _ignoreRelease to _ignoreUntilRelease
in some places, but not others, which broke GrabHelper.ignoreRelease().
Complete the name change to fix the fallout (e.g. app launcher menus
closing on button release).

js/ui/grabHelper.js

index 4474e49211eebd24c3004043889245c960830f65..a2a1cb55d790fb827e909f0153c71c9d559c3a2b 100644 (file)
@@ -56,7 +56,7 @@ const GrabHelper = new Lang.Class({
         this._grabStack = [];
 
         this._actors = [];
-        this._ignoreRelease = false;
+        this._ignoreUntilRelease = false;
 
         this._modalCount = 0;
     },
@@ -215,7 +215,7 @@ const GrabHelper = new Lang.Class({
 
         _popGrabHelper(this);
 
-        this._ignoreRelease = false;
+        this._ignoreUntilRelease = false;
 
         Main.popModal(this._owner);
         global.sync_pointer();
@@ -228,7 +228,7 @@ const GrabHelper = new Lang.Class({
     // like the ComboBoxMenu that go away on press, but need to eat
     // the next release event.
     ignoreRelease: function() {
-        this._ignoreRelease = true;
+        this._ignoreUntilRelease = true;
     },
 
     // ungrab: